# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=py3-mpv
pkgver=1.0.1
pkgrel=0
pkgdesc="Python interface to the mpv media player"
url="https://github.com/jaseg/python-mpv"
arch="all"
license="MIT"
depends="python3 mpv-libs"
makedepends="py3-setuptools"
options="!check" # tests require unpackaged xvfbwrapper
source="python-mpv-$pkgver.tar.gz::https://github.com/jaseg/python-mpv/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-mpv-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
16a6e93b63f30e535c1e3bd77702d7c703dd9c0a6a689f09e689663cac04e587bdc2135612062d791ffb38c709bc289d0297ebf9f1ddaf9b1771f25eae225f1b  python-mpv-1.0.1.tar.gz
"
